<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaVproviderHub: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="virtual_connection.html" title="Virtual connections">
<link rel="prev" href="GdaVproviderDataModel.html" title="GdaVproviderDataModel">
<link rel="next" href="GdaVirtualConnection.html" title="GdaVirtualConnection">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GdaVproviderHub.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GdaVproviderHub.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="virtual_connection.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GdaVproviderDataModel.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GdaVirtualConnection.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GdaVproviderHub"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaVproviderHub.top_of_page"></a>GdaVproviderHub</span></h2>
<p>GdaVproviderHub — Virtual provider for connections based on other connection</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GdaVproviderHub.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GdaVproviderHub.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<a class="link" href="GdaVirtualProvider.html" title="GdaVirtualProvider"><span class="returnvalue">GdaVirtualProvider</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaVproviderHub.html#gda-vprovider-hub-new" title="gda_vprovider_hub_new ()">gda_vprovider_hub_new</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GdaVproviderHub.html#GdaVproviderHub-struct" title="struct GdaVproviderHub">GdaVproviderHub</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="GdaServerProvider.html" title="GdaServerProvider">GdaServerProvider</a>
        <span class="lineart">╰──</span> GdaSqliteProvider
            <span class="lineart">╰──</span> <a class="link" href="GdaVirtualProvider.html" title="GdaVirtualProvider">GdaVirtualProvider</a>
                <span class="lineart">╰──</span> <a class="link" href="GdaVproviderDataModel.html" title="GdaVproviderDataModel">GdaVproviderDataModel</a>
                    <span class="lineart">╰──</span> GdaVproviderHub
</pre>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;virtual/gda-ldap-connection.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.description"></a><h2>Description</h2>
<p>This provider is used to create virtual connections which "incorporate" tables from other connections. This is typically
used when one need to compare or migrate data from one database to the other by creating two connections for each database,
and "binding" them into a third virtual connection using this provider.</p>
<p>Using <a class="link" href="GdaVirtualConnection.html#gda-virtual-connection-open" title="gda_virtual_connection_open ()"><code class="function">gda_virtual_connection_open()</code></a> with this provider as argument
will generate a <a class="link" href="GdaVconnectionHub.html" title="GdaVconnectionHub"><span class="type">GdaVconnectionHub</span></a> connection object, from which connections can be added.</p>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gda-vprovider-hub-new"></a><h3>gda_vprovider_hub_new ()</h3>
<pre class="programlisting"><a class="link" href="GdaVirtualProvider.html" title="GdaVirtualProvider"><span class="returnvalue">GdaVirtualProvider</span></a> *
gda_vprovider_hub_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new GdaVirtualProvider object which allows one to 
add and remove GdaDataModel objects as tables within a connection</p>
<div class="refsect3">
<a name="gda-vprovider-hub-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GdaVirtualProvider.html" title="GdaVirtualProvider"><span class="type">GdaVirtualProvider</span></a> object.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GdaVproviderHub-struct"></a><h3>struct GdaVproviderHub</h3>
<pre class="programlisting">struct GdaVproviderHub;</pre>
</div>
</div>
<div class="refsect1">
<a name="GdaVproviderHub.see-also"></a><h2>See Also</h2>
<p>See also the <a class="link" href="virtual_connection.html#VirtualIntro" title="Introduction to virtual connections">introduction to virtual connections</a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>